package com.jeeplus.common.utils;

import org.apache.ibatis.jdbc.Null;

/**
 * @author Administrator
 * @title: ResponseCode
 * @projectName JeePlus
 * @description: TODO
 * @date 2019/10/2710:59
 */
public  class ResponseCode {
    public final  Integer success=200;
    public final  Integer fail=400;
    public final  Integer exception=500;
    public final  String getInfo(Integer code){
        String info="";
        switch (code){
            case 200:info= "响应成功";break;
            case 400:info= "响应失败";break;
            default:info= "响应异常";break;
        }
        return info;
    }
}
